<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>订阅号页面模板</title>
    <link rel="stylesheet" href="/rzwl/testdb/index.css">
    <link rel="stylesheet" href="/rzwl/components/tabbar/index.css">
    <!-- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css"> -->
</head>
<body>
    <div id="testdb_app">
        <h1>{{ message }}</h1>
        <p>这是一个基于Vue.js的订阅号页面模板。</p>
        <button @click="fetchItems">加载数据</button>
        <ul>
            <li v-for="item in items" :key="item.id">
                <span v-text="item.name"></span> - <span v-text="item.description"></span>
            </li>
        </ul>
        <div>
            <input v-model="newItemName" placeholder="新项目名称">
            <input v-model="newItemDescription" placeholder="新项目描述">
            <button @click="createItem">添加项目</button>
        </div>
        <tabbar-component currentPage="testdb"></tabbar-component>
    </div>

    <script src="/rzwl/static/vue@2.6.14/dist/vue.min.js"></script>
    <script src="/rzwl/components/tabbar/index.js"></script>
    <script src="/rzwl/testdb/index.js"></script>
</body>
</html>
